PARSER=parser
DUG=debug
HTTP_SVR=http_server
CC=g++

all:$(PARSER) $(DUG) $(HTTP_SVR)
$(PARSER):parser.cc
	$(CC) -o $@ $^ -lboost_system -lboost_filesystem -std=c++11
$(DUG):debug.cc
	$(CC) -o $@ $^ -ljsoncpp -std=c++11
$(HTTP_SVR):http_server.cc
	$(CC) -o $@ $^ -lpthread -ljsoncpp -std=c++11
.PHONY:clean
clean:
	rm -f $(PARSER) $(DUG) $(HTTP_SVR)
